<%@ page import="main.com.entry.User" %><%--
  @author  lk
  DateTime: 2020/6/23 11:31
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>用户信息修改</title>
</head>
<body>
<%
    User user = (User) request.getAttribute("user");
%>
<center>
    <table  width=" 100%" align="center" border="1px">
        <tr>
            <th colspan="2">个人信息</th>
            <th>操 作</th>
        </tr>
        <tr>
            <th>用户名</th>
            <td aria-readonly="true"><%=user.getUsername()%>
            </td>
            <td></td>
        </tr>
        <tr>
            <th>密 码</th>
            <td><%=user.getPassword()%>
            </td>
            <td><a href="editpassword.jsp">修改</a></td>
        </tr>
        <tr>
            <th>邮 箱</th>
            <td><%=user.getEmail()%>
            </td>
            <td><a href="editemail.jsp">修改</a></td>
        </tr>
        <tr>
            <th>单 位</th>
            <td aria-readonly="true"><%=user.getWorkplace()%>
            </td>
            <td></td>
        </tr>
        <tr>
            <th>注册时间</th>
            <td aria-readonly="true"><%=user.getAddtime()%>
            </td>
            <td></td>
        </tr>


    </table>
    <a href="logout.jsp">退出</a>
</center>
</body>
</html>
